package org.com.yz.dal.dao.model;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 对账结果表
 * </p>
 *
 * @author wzc123
 * @since 2018-12-05
 */
@TableName("reconciliation_result")
public class ReconciliationResult extends Model<ReconciliationResult> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 对账订单数
     */
    @TableField("reconciliation_count")
    private Integer reconciliationCount;
    /**
     * 对账订单数
     */
    @TableField("bookkeeping_count")
    private Integer bookkeepingCount;
    /**
     * 0微信支付1支付宝支付2其他
     */
    @TableField("rdChannel")
    private String rdChannel;
    /**
     * 是否历史数据
     */
    @TableField("isHisData")
    private String isHisData;

    @TableField("mchNo")
    private String mchNo;
    @TableField("remark")
    private String remark;

    /**
     * 开始时间
     */
    @TableField("beginTime")
    private String beginTime;
    /**
     * 结束时间
     */
    @TableField("endTime")
    private String endTime;
    @TableField("createTime")
    private Date createTime;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getReconciliationCount() {
        return reconciliationCount;
    }

    public void setReconciliationCount(Integer reconciliationCount) {
        this.reconciliationCount = reconciliationCount;
    }

    public Integer getBookkeepingCount() {
        return bookkeepingCount;
    }

    public void setBookkeepingCount(Integer bookkeepingCount) {
        this.bookkeepingCount = bookkeepingCount;
    }

    public String getRdChannel() {
        return rdChannel;
    }

    public void setRdChannel(String rdChannel) {
        this.rdChannel = rdChannel;
    }

    public String getIsHisData() {
        return isHisData;
    }

    public void setIsHisData(String isHisData) {
        this.isHisData = isHisData;
    }

    public String getMchNo() {
        return mchNo;
    }

    public void setMchNo(String mchNo) {
        this.mchNo = mchNo;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(String beginTime) {
        this.beginTime = beginTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "ReconciliationResult{" +
        "id=" + id +
        ", reconciliationCount=" + reconciliationCount +
        ", bookkeepingCount=" + bookkeepingCount +
        ", rdChannel=" + rdChannel +
        ", isHisData=" + isHisData +
        ", mchNo=" + mchNo +
        ", remark=" + remark +
        ", beginTime=" + beginTime +
        ", endTime=" + endTime +
        ", createTime=" + createTime +
        "}";
    }
}
